package com.rules.admin.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rules.admin.entity.Rule;
import com.rules.admin.entity.SysUser;

import java.util.List;
import java.util.Map;

public interface SysUserService extends IService<SysUser> {
   SysUser insert(SysUser sysUser) throws Exception;

   Map<String, Object> updateAccount(Map<String, Object> var1) throws Exception;

   void delete(Long[] ids);

   IPage<SysUser> queryPage(String var1, IPage<SysUser> var2);

   SysUser findByUserName(String userName);

   List<SysUser> getByGroupId(long groupId);

   Map<String, Object> getByUser(String var1, String var2) throws Exception;

   void logout();
}
